This repository contains an AWS SAM application that deploys a Lambda function with an API using three different deployment options:
- API Gateway REST API
- API Gateway HTTP
- Lambda Function URLs.
The goal of this project is to provide a quick and easy way to compare the three options and help you choose the best one for your use case.
Before you can deploy the application, you'll need to have the following installed:
- AWS SAM CLI
- AWS CLI
- Node.js
To get started with this project, follow these steps:
- Clone the repository to your local machine.
- Run
npm install
to install the necessary dependencies. - Run
sam build
- Deploy the application using the
sam deploy --guided
command. - Test the URLs output by the SAM CLI.